package com.audi.handler;

import java.util.ArrayList;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.os.Handler;
import android.os.Message;

import com.audi.BaseActivity;
import com.audi.dto.MemberItem;
import com.audi.dto.PlaceItem;
import com.audi.message.ActionMessage;

public class PlaceHandlerAction {

	private Activity mActivity;
	private BaseActivity mBaseActivity;
	private ArrayList<PlaceItem> mListPlaceInRootAccess;

	public PlaceHandlerAction(Activity activity) {
		super();
		mListPlaceInRootAccess = new ArrayList<PlaceItem>();
		this.mActivity = activity;
		mBaseActivity = (BaseActivity) activity;
	}
	@SuppressLint("HandlerLeak")
	public Handler handlerChangePlace = new Handler() {

		public void handleMessage(final Message msg) {
			mActivity.runOnUiThread(new Runnable() {
				public void run() {
					try {
						if (msg.arg1 != -1) {
							if (msg.getData().getInt(
									String.valueOf(ActionMessage.changeCapabilityPlace)) > 0) {
							}
						}
					} catch (Exception e) {
					}
				}
			});
		}
	};
}